package com.demo.waimai.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单--退款处理
 * </p>
 *
 * @author Helen
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderRefund对象", description="订单--退款处理")
public class OrderRefund implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "用户姓名")
    private String username;

    @ApiModelProperty(value = "需要退回的款项")
    private BigDecimal payMoney;

    @ApiModelProperty(value = "退款原因")
    private String refundReason;

    @ApiModelProperty(value = "申请时间")
    private Integer applyTime;

    @ApiModelProperty(value = "协商的需要扣除的手续费")
    private BigDecimal serviceCost;

    @ApiModelProperty(value = "卖家处理时间")
    private Integer handleTime;

    @ApiModelProperty(value = "退款完成时间")
    private Integer finishTime;

    @ApiModelProperty(value = "状态")
    private Integer status;


}
